package com.yicong.ants.bean;



/**
 * Description :
 *
 * @author ZhJiao
 * @date 2021/9/9
 */

public class ShareBean {
    String link;
    String title;
    String image;
    String desc;

    public ShareBean() {
    }

    public String getLink() {
        return this.link;
    }

    public String getTitle() {
        return this.title;
    }

    public String getImage() {
        return this.image;
    }

    public String getDesc() {
        return this.desc;
    }

    public ShareBean setLink(String link) {
        this.link = link;
        return this;
    }

    public ShareBean setTitle(String title) {
        this.title = title;
        return this;
    }

    public ShareBean setImage(String image) {
        this.image = image;
        return this;
    }

    public ShareBean setDesc(String desc) {
        this.desc = desc;
        return this;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof ShareBean)) return false;
        final ShareBean other = (ShareBean) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$link = this.getLink();
        final Object other$link = other.getLink();
        if (this$link == null ? other$link != null : !this$link.equals(other$link)) return false;
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        if (this$title == null ? other$title != null : !this$title.equals(other$title))
            return false;
        final Object this$image = this.getImage();
        final Object other$image = other.getImage();
        if (this$image == null ? other$image != null : !this$image.equals(other$image))
            return false;
        final Object this$desc = this.getDesc();
        final Object other$desc = other.getDesc();
        if (this$desc == null ? other$desc != null : !this$desc.equals(other$desc)) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof ShareBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $link = this.getLink();
        result = result * PRIME + ($link == null ? 43 : $link.hashCode());
        final Object $title = this.getTitle();
        result = result * PRIME + ($title == null ? 43 : $title.hashCode());
        final Object $image = this.getImage();
        result = result * PRIME + ($image == null ? 43 : $image.hashCode());
        final Object $desc = this.getDesc();
        result = result * PRIME + ($desc == null ? 43 : $desc.hashCode());
        return result;
    }

    public String toString() {
        return "ShareBean(link=" + this.getLink() + ", title=" + this.getTitle() + ", image=" + this.getImage() + ", desc=" + this.getDesc() + ")";
    }
}
